#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include<QLabel>
#include<QLineEdit>
#include<QPushButton>
#include<QFileDialog>
#include<QFile>
#include<QCheckBox>
#include<QVBoxLayout>
#include<QHBoxLayout>
#include<QDateTime>
#include<QGridLayout>

QT_BEGIN_NAMESPACE
namespace Ui { class Dialog; }
QT_END_NAMESPACE

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = nullptr);
    ~Dialog();
     void getatrribute();

private:
    Ui::Dialog *ui;
    QLabel* filename;
    QLineEdit* name;
    QPushButton* openfile;

    QLabel* filesize;
    QLineEdit* fs;


    QLabel* createfiletime;
    QLineEdit* cft;

    QLabel* modifiletime;
    QLineEdit* mft;

    QLabel*openfiletime;
    QLineEdit* oft;

    QLabel* fileattribute;
    QCheckBox* file;
    QCheckBox* hide;
    QCheckBox* onlyread;
    QCheckBox* onlywrite;
    QCheckBox* exc;


    QPushButton* btn;



};
#endif // DIALOG_H
